    <include file="App/Admin/View/Public/left.html"/>
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="{:U('Index/index')}">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">公排一条线</span></div>
        </div>
        <div class="search-wrap">
            <div class="search-content">
                <form action="{:U('Line/index')}" method="post">
                    <table class="search-tab">
                        <tr>
                            <td width="70">会员账号:</td>
                            <td><input class="common-text" placeholder="关键字" name="email" type="text"></td>
                              <td width="70">会员ID:</td>
                            <td><input class="common-text" placeholder="ID" name="member_id" type="text"></td>
                            <td><input class="btn btn-primary btn2"  value="查询" type="submit"></td>
                            
    

                        </tr>
                    </table>
                </form>
                 <form action="{:U('Line/add')}" method="post">
                    <table class="search-tab">
                        <tr>
                            
                            <td>机器人用户名：</td>
                             <td><input class="common-text" placeholder="" name="account" type="text"></td>
                            <td><input class="btn btn-primary btn2"  value="添加机器人" type="submit"></td>



                        </tr>
                    </table>
                </form>
				
            </div>
        </div>
        <div class="result-wrap">

            <div class="result-title">
                <div class="result-list">
                    <!-- <a href="{:U('Member/addMember')}"><i class="icon-font"></i>新增会员</a> -->
                </div>
            </div>
            <div class="result-content">
                <table class="result-tab" width="100%">
                    <tr>
                        <th style="text-align:center;">ID</th>
                        <th style="text-align:center;">用户名</th>
						<th style="text-align:center;">公排名</th>
                        <th style="text-align:center;">真实姓名</th>
                        <th style="text-align:center;">加入时间</th>
                        <th style="text-align:center;">状态</th>
                        <th style="text-align:center;">操作</th>
                    </tr>
                    <volist name='list' id='vo'>
                        <tr>
                            <td align="center">{$vo['id']}</td>
                            <td align="center"> {$vo['account']}</td>
							<td align="center">{$vo['name']}</td>
                            <td align="center">{$vo['full_name']}</td>
							<td align="center">{$vo['add_time']|date='Y-m-d H:i:s',###}</td>
                            <td align="center"><if condition="$vo['status'] eq 1">
									出局
								</if>
								<if condition="$vo['status'] eq 0">
                                    <i style="color:#F00; font-weight:bold;">等待</i>
								</if>
								
								</td>
                            <td align="center">
                                <a class="link-del" href="{:U('Line/del',array('id'=>$vo['id']))}">删除</a>
                               
                            </td>
                        </tr>
                    </volist>

                </table>
                <div class="list-page"> <ul>{$page}</ul></div>
            </div>

        </div>
    </div>
    <!--/main-->
</div>
</body>
</html>
<script>
$(".sub-menu").eq(4).show();
$(".sub-menu").eq(4).children("li").eq(0).addClass("on");
</script>
<script>
function download(){
    var add_time=$('#aaaaa1').val();
    var end_time=$('#aaaaa2').val();
    var url="{:U('Member/derivedExcel')}";
    window.location.href=url+"?add_time="+add_time+"&&end_time="+end_time;
}
</script>
<script>
    function add(){
        var url = "{:U('Lind/add')}";
        $.post(url,{''})

    }

</script>